package com.mall.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 李茂鑫
 * @Date 2025/1/17 17:19
 * @Descripition
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user")
@Schema(description = "用户实体类")
public class User {
    @Schema(description = "用户id")
    private Integer id;
    @Schema(description = "邮箱")
    private String email;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "密码")
    private String pwd;
    @Schema(description = "接收者")
    private String recipient;
    @Schema(description = "地址")
    private String address;
    @Schema(description = "用户联系方式")
    private String phone;
}
